package com.gupao.spring.pattern.factory.func;

/**
 * 工厂测试
 */
public class FactoryTest {

    public static void main(String[] args) {

        Factory factory = new XiaoMiFactory();

        System.out.println(factory.getPhone().getPhone());
    }
}
